package com.goktech.utils;

public class Constants {
    public static final String REGISTER_CODE = "register:code";
    public static final String UPDATE_PASS_CODE = "update:pass:code:";
    public static final long CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 1800L;
    public static final String USER = "loginUser";
    public static final String USER_NULL = "用户不存在";
    public static final String PASSWORD_VERIFY_ERROR = "密码必须包含大小写字母、数字、特殊字符";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String USER_EXIST = "用户已注册";
    public static final String PASSWORD_DISCORD = "密码不一致";
    public static final String USER_EMPTY = "用户名为空";
    public static final String PASSWORD_EMPTY = "密码为空";
    public static final String NEW_PASSWORD_EMPTY = "新密码为空";
    public static final String RE_PASSWORD_EMPTY = "再次输入的密码为空";
    public static final String CODE_EMPTY = "验证码为空";
    public static final String REGISTER_ERROR = "注册失败";
    public static final String REGISTER_SUCCESS = "注册成功";
    public static final String CODE_ERROR = "验证码不正确";
    public static final String CODE_EXPIRE = "验证码过期";
    public static final String LOGIN_SUCCESS_MSG = "登录成功";
    public static final String NOT_LOGIN = "未登录";
    public static final String LOGIN_ERROR_MSG = "账号或密码错误";
    public static final String SECRET_KEY = "secretKey";
    public static final String ADD_SUCCESS = "添加成功";
    public static final String ADD_ERROR = "添加失败";
    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String UPDATE_ERROR = "更新失败";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String DELETE_ERROR = "删除失败";
    public static final String DELETES_SUCCESS = "批量删除成功";
    public static final String DELETES_ERROR = "批量删除失败";
    public static final String UPLOAD_SUCCESS = "上传成功";
    public static final String UPLOAD_ERROR = "上传失败";
    public static final String UPLOAD_FILE_EMPTY = "上传文件为空";
    public static final Long CACHE_NULL_TTL = 2L;
    public static final Long LOCK_SHOP_TTL = 10L;
    public static final String COMMODITY_KEY = "commodity:succulent";
    public static final String ARTIFICIAL_KEY = "commodity:artificial";
    public static final Long COMMODITY_TTL = 30L;
    public static final String SWIPER_KEY = "swiper";
    public static final Long SWIPER_TTL = 1L;
}
